package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author ：lintao
 * @date ：Created in 2020/11/28
 * @description ：套餐持久层dao接口
 * @version: 1.0
 */
public interface SetmalDao {
    public void add(Setmeal setmeal);
    public void setSetmealAndCheckGroup(Map<String, Integer> map);
    public Page<Setmeal> selectByCondition(String queryString);
    public List<Setmeal> findAll();
    public Setmeal findById(Integer id);
    public List<Map<String, Object>> findSetmealCount();
    public List<Map<String, Object>> findHotSetmeal();
}
